package com.sztle.admodule.myutils;

import android.text.TextUtils;

import java.util.List;

public class ToolUtils {

    public static boolean isEqualStrList(List<String> aList, List<String> bList) {
        if (aList == null || bList == null || aList.isEmpty() || bList.isEmpty()) {
            return false;
        }
        if (aList.size() != bList.size()) {
            return false;
        }
        boolean result = true;
        for (int index = 0; index < aList.size(); index++) {
            if (!TextUtils.equals(aList.get(index), bList.get(index))) {
                result = false;
                break;
            }
        }
        return result;
    }
}
